package com.ws.service;

import com.ws.common.PaasPage;
import com.ws.entity.Supplier;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * @author ：ws
 * @date ：Created in 2023/10/24 11:13
 * @description：TODO
 * @modified By：
 * @version: 1.0.0
 */
public interface SupplierService {
    PaasPage<Supplier> getSupplierPage(Pageable pageable, String supplierName,String statusCd);

    Supplier saveSupplier(Supplier supplier);

    Supplier getSupplierBasicInfo(Long supplierId);

    void delSupplier(Long supplierId);

    Supplier updateSupplier(Long supplierId, Supplier supplier);

    List<Supplier> getSupplierList(String supplierName, String statusCd);
}
